<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2020/1/7
 * Time: 16:43
 */

namespace app\index\controller;

use think\Db;

class Trial
{
    public function trial(){

        $list=Db::table("trial")->order("id")->page(1,20)->select();
//        print_r($list);
        return view('trial')->assign("list",$list);
    }
}